<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
   <title> </title>
</head>
<body>

<form:form method="post" action="/asvp/art/save"  modelAttribute="ArtPictureBean" enctype="multipart/form-data">
	
	<div>
	
	<table id="insert_art">
	
	 <tr>  
        <td><spring:message code="artecultura.bacheca.artistica.arte.title.label"/></td>
        <td><form:input path="art.title" value="${art.title}"></form:input></td> 
     </tr>  
     
     <tr>  
        <td><spring:message code="artecultura.bacheca.artistica.arte.description.label"/></td>
        <td><form:textarea path="art.description" rows="10" cols="30" /></td>
     </tr>
     
     <tr>  
        <td><spring:message code="artecultura.bacheca.artistica.arte.type.label"/></td>
        <td><form:select path="art.artType" items="${allArtType}" /></td>
     </tr>
     
	</table>
	
	</div>
	
	    <tiles:insertDefinition name="file_uploader"/>
	
	<div>
	
	<br/><input type="submit" value="Salva" />
	</div>
	
</form:form>
</body>
</html>
